package com.koron.sinoprobe.web.plan.service;

import com.koron.sinoprobe.web.ledger.bean.query.SpPlanMilestoneQuery;
import com.koron.sinoprobe.web.plan.bean.entity.SpPlanMilestone;
import com.koron.sinoprobe.web.plan.bean.vo.SpPlanMilestoneVO;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * @author twcao
 * @title: SpPlanMilestoneService
 * @projectName GDH_EAM_V2
 * @description: 里程碑
 * @date 2021/12/28:45
 */
public interface SpPlanMilestoneService {

    SpPlanMilestone updateById(SessionFactory factory, SpPlanMilestone bean);

    List<SpPlanMilestoneVO> getBySpId(SessionFactory factory, String spId);

    List<SpPlanMilestoneVO> queryList(SessionFactory factory, SpPlanMilestoneQuery query);

    List<String> queryNameList(SessionFactory factory, String name);
}
